package com.ltmall.api.util;
public class EmojiFilter {

    public static String filterEmoji(String source) {  
        if (source != null && source.length() > 0) {  
            return source.replaceAll("[\ud800\udc00-\udbff\udfff\ud800-\udfff]", "");  
        } else {  
            return source;  
        }  
    }
    
}